﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace cn.Util
{
    /// <summary>
    /// 多语言
    /// </summary>
    [AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
    public class LangEnumAttribute : System.Attribute
    {
        /// <summary>
        /// 
        /// </summary>
        public string Lang = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        public string Description = string.Empty;

        /// <summary>
        /// 
        /// </summary>
        /// <param name="lang"></param>
        /// <param name="txt"></param>
        public LangEnumAttribute(string lang, string txt)
        {
            Lang = lang;
            Description = txt;
        }
    }
}
